//
//  FloatLayer.h
//  PlayBall
//
//  Created by yanxun on 8/23/14.
//
//

#import <UIKit/UIKit.h>




typedef enum {
    FloatLayerTogetherBuy = 0,  //合买中心
    FloatLayerAccountDetail = 1, //账号细节
    FloatLayerCQSS = 2,
    FloatLayerList = 3,
    FloatLayerOther
}FloatLayerTag;


typedef void(^FloatLayerCallBack)(NSInteger index);
typedef void(^FloatLayerCQSSCallBack)(NSInteger index,NSString *firstStr,NSString*lastStr);//专门用于重庆时时彩


@interface FloatLayer : UIView

@property (nonatomic,copy)FloatLayerCallBack floatLayerCallBack;
@property (nonatomic,copy)FloatLayerCQSSCallBack floatLayerCQSSCallBack;
@property (nonatomic,strong) NSString *first;
@property (nonatomic,strong) NSString *last;



- (id)initWithFloatLayer:(NSInteger)layerTag withLayerCallBack:(FloatLayerCallBack)floatLayer;
- (id)initWithFloatLayer:(NSInteger)layerTag withLayerCQSSCallBack:(FloatLayerCQSSCallBack)floatCQSSLayer;

- (void)loadFloatLayer:(NSArray *)arr withIndex:(NSInteger)index;

@end
